package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Course;

import java.util.List;

public interface CourseService {

     List<Course> findAll() ;

    PageInfo<Course> findByPage(int currentPage, int pageSize);

    void save(Course course);

    Course findById(String id);

    void update(Course course);

    void delete(String[] ids);


}
